package com.dd.cloud.user.entity.pres;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Lx
 * @version 1.0
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "处方流转状态处理记录表")
public class PresHandleRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 处方编号
     */
    @Column(length = 20, comment = "处方编号")
    private String tencode;

    /**
     * 流转状态
     */
    @Column(comment = "流转状态")
    private Integer status;

    /**
     * 拒绝原因
     */
    @Column(length = 200, comment = "拒绝原因")
    private String rejectReason;

    /**
     * 快递单号
     */
    @Column(length = 20, comment = "快递单号")
    private String expressno;

    /**
     * 快递公司
     */
    @Column(length = 20, comment = "快递公司")
    private String expresscompany;

    /**
     * 创建人id
     */
    @Column(comment = "创建人id")
    private Integer createId;

    /**
     * 创建人类型 同登录类型
     */
    @Column(comment = "建人类型 同登录类型")
    private Integer createType;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;
}
